using System;
using System.Collections.Generic;
using System.Text;
using Watchfire.AppScan;
using Watchfire.AppScan.Plugins;

namespace Watchfire.DefectLogger
{
	[AppScanPlugin]
    class DefectLoggerCQPlugin : DefectLoggerPluginBase
    {
		private string _regDefectLoggerPlugin = "DefectLoggerCQ";
		private string _regXmlConfig = "XmlConfig";
		private IDefectTrackingSystem _defectTrackingSystem = new CQ();
		private string _contextMenuText = "Log Defect to ClearQuest";
		private string _pluginMenuText = "Log Defect Settings for ClearQuest";

		#region Properties	
		public override IDefectTrackingSystem DefectTrackingSystem
		{
			get{ return _defectTrackingSystem; }
		}
		protected override string RegDefectLoggerPlugin
		{
			get { return _regDefectLoggerPlugin; }
		}
		protected override string RegXmlConfig
		{
			get{ return _regXmlConfig;}
		}
		protected override ConnectionForm ConnForm
		{
			get { return new ConnectionForm(); }
		}
		protected override string ContextMenuText
		{
			get { return _contextMenuText; }
		}
		protected override string PluginMenuText
		{
			get { return _pluginMenuText; }
		}
		#endregion Properties

		/// <summary>
        /// ctor
        /// </summary>
        public DefectLoggerCQPlugin()
        {
        }
    }
}
